package com.gao.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import java.io.Serializable;

/**
 * Created by gml on 17/1/16.
 */
@JsonIgnoreProperties({"hibernateLazyInitializer", "handler"})

public class Response<T> implements Serializable {


    /**状态*/
    private String  status="true";
    private String msg = "success";
    private T data;

    /**
     *
     * @param status 状态
     * @param msg 提示信息
     * @param data 数据
     */


    public Response( T data) {
        this.data  =data;
    }


    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


}
